@import "../my-theme/info.less";
@import "../style/vividStandard.less";
.crContainer {
  .card:before {
    z-index: -1;
  }
  width: 100%;
  display: flex;
  flex-direction: column;
  .commonTitle {
    .crHeader {
      display: flex;
      justify-content: space-between;
      p:first-child {
        color: #fc5c41;
        font-size: 18px;
      }
      & > div:nth-child(2) {
        & > span {
          line-height: 27px;
        }
        display: flex;
        .ivu-select-selection,
        .ivu-input-icon,
        .ivu-input{
          height: 27px;
          line-height: 27px;
          .ivu-select-placeholder,
          .ivu-select-selected-value{
            height: 25px;
            line-height: 25px;
          }
        }
        .ivu-icon-ios-calendar-outline{
          background: url(../assets/images/calendar.png) no-repeat center;
          &:before {
            content: ""
          }
        }
        .ivu-icon-ios-close{
          cursor: pointer ;
        }
        //.classSubject {
        //  .ivu-select-dropdown {
        //    box-shadow: none;
        //    border: 1px solid @primary-color;
        //    margin: 0;
        //    border-radius: 0;
        //    border-bottom-right-radius: 3px;
        //    border-bottom-left-radius: 3px;
        //  }
        //}
        //.ivu-select-selection {
        //  border: 1px solid #dadada;
        //  height: 27px !important;
        //}
        //.ivu-select-single .ivu-select-selection .ivu-select-placeholder, .ivu-select-single .ivu-select-selection .ivu-select-selected-value {
        //  line-height: 27px !important;
        //  height: 27px !important;
        //  //padding-left: 15px !important;
        //}
        //.ivu-select-visible .ivu-select-selection {
        //  box-shadow: none;
        //  border-top-left-radius: 4px;
        //  border-top-right-radius: 4px;
        //  border-top: 1px solid #5e88fc;
        //  border-right: 1px solid #5e88fc;
        //  border-left: 1px solid #5e88fc;
        //  border-bottom: 0px;
        //  border-radius: 0;
        //  border-top-left-radius: 4px;
        //  border-top-right-radius: 4px;
        //}
        //.ivu-select-item-selected, .ivu-select-item-selected:hover {
        //  color: @primary-color;
        //  background: #cedaee;
        //}
        //.ivu-select-dropdown-list {
        //  padding: 3px 0;
        //}
        //.ivu-input {
        //  height: 27px;
        //  line-height: 27px;
        //}
        //.ivu-input-icon {
        //  background: url(../assets/images/calendar.png) no-repeat center;
        //  height: 27px;
        //  &:before {
        //    content: ""
        //  }
        //}
      }
    }
  }

  .crHeader2-main {
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    font-size: 16px;
    .crHeader2-right{
      display: flex;
      .class-list-tip{
        margin-right: 30px;
        display: flex;
        em{
          position: relative;
          padding-left: 20px;
          &:before{
            content: '';
            width: 6px;
            height: 6px;
            position: absolute;
            left: 9px;
            top: 50%;
            -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
            border-radius: 50%;
          }
          &:nth-of-type(1):before{
            background: #ed9d40;
          }
          &:nth-of-type(2):before{
            background: #86d2b1;
          }
        }
      }
    }
    p.crHeader2-tab {
      font-size: 12px;
      span:nth-child(2) {
        margin: 0 28px;
      }
      span {
        position: relative;
        padding: 0 6px;
        cursor: pointer;
        font-size: 14px;
        &.active {
          color: @primary-color2;
        }
        &.active:after {
          position: absolute;
          content: "";
          background-color: @primary-color2;
          width: 100%;
          height: 1px;
          bottom: -4px;
          left: 0px;
        }
      }
    }
  }
  .crBody {
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    padding: 0 40px;
    flex: 5;
    .crTitle {
      padding: 0 0 20px 0;
      font-size: 14px;
    }
    .courseList2 {
      display: flex;
      flex-wrap: wrap;
      li {
        width: 186px;
        //height: 194px;
        margin-right: 65px;
        border-radius: 3px;
        overflow: hidden;
        margin-bottom: 30px;
        .courseHead {
          height: 106px;
          //border-bottom: 2px solid #86d2b1;
          position: relative;
          .playVideo {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            transition: all ease-out 250ms;
            border-top-left-radius: 4px;
            border-top-right-radius: 4px;
            cursor: pointer;
            z-index: 2;
            & > img {
              position: absolute;
              top: 50%;
              left: 50%;
              margin: -18px 0 0 -18px;
              transform: scale(2);
              transition: all ease-out 250ms;
              opacity: 0;
            }
            &:hover{
              background-color: rgba(0, 0, 0, 0.5);
              &> img{
                opacity: 1;
                transform: scale(1);
              }
            }
          }
          .notFound {
            text-align: center;
            color: #fff;
            padding-top: 36px;
            font-size: 12px;
            img {
              vertical-align: middle;
              margin-right: 10px;
            }
          }
          .courseListNoVideo{
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100%;
            background-color: #c3c8ca;
            color: #fff;
            img{
              margin-right: 5px;
            }
          }
        }
        .evaluation {
          border-bottom: 2px solid #ed9d40;
        }
        .official {
          border-bottom: 2px solid #86d2b1;
        }
        .courseBody {
          padding: 8px 0 8px 12px;
          display: flex;
          height: 108px;
          div:first-child {
            margin-right: 16px;
          }
          div:last-child {
            span {
              margin-left: 8px;
            }
          }
        }
        .courseFooter{
          text-align: center;
          position: relative;
          z-index: 2;
          margin-bottom: 10px;
          span{
            cursor: pointer;
            width: 70px;
            height: 24px;
            font-size: 12px;
            display: block;
            margin: 0 auto;
            line-height: 22px;
          }
          .writeFeedback{
            border-radius: 2px;
            border: 1px solid @error-color;
            color: @error-color;
            &:hover{
              border: 1px solid tint(@error-color,20%);
              color: tint(@error-color,20%);
            }
            &:active{
              border: 1px solid shade(@error-color,20%);
              color: shade(@error-color,20%);
            }
          }
          .readFeedback{
            color: @primary-color;
            &:hover{
              color: tint(@primary-color,20%);
            }
            &:active{
              color: shade(@primary-color,20%);
            }
          }
        }
        div.enterRoom{
          display: flex;
          justify-content: space-between;
          //margin-bottom: 12px;
          padding: 0 12px;
          flex-wrap: wrap;
          .accounting{
            line-height: 24px;
            color: @error-color;
            margin-bottom: 12px;
          }
          .enterClass{
            width: 74px;
            height:24px;
            border-radius:2px;
            background-color:@primary-color2 ;
            border:1px solid @primary-color2;
            color:#fff;
            font-size:12px;
            line-height: 22px;
            text-align: center;
            cursor:pointer;
            box-sizing:border-box;
            margin-bottom: 12px;
          }
          .enterClass2{
            background-color:transparent;
            color:@primary-color2;
            border:1px solid @primary-color2;
          }
          .enterClass3{
            background-color:transparent;
            color:@purple-color;
            border:1px solid @purple-color;
          }
        }
      }
    }
  }
}

.videoWarp {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.7);
  left: 0;
  top: 0;
  z-index: 3;
  .videoContain {
    //width: 632px;
    //height: 434px;
    width:59%;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    .videoHead {
      height: 24px;
      background-color: #000;
      text-align: right;
      img {
        width: 12px;
        height: 12px;
        margin: 6px 5px 0 0;
        cursor: pointer;
      }
    }
    .videoBody {
      //height: 355px;
      width: 100%;
      padding-top: 56.25%;
      position: relative;
      padding-bottom: 54px;
      .videoMain{
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
      }
      min-height: 450px;
    }
  }
}
//
//@media screen and (max-width: 1256px) {
//  .crContainer .crBody .courseList li:nth-of-type(4n) {
//    margin-right: 0;
//  }
//}
//
//@media screen and (min-width: 1257px) and (max-width: 1478px) {
//  .crContainer .crBody .courseList li:nth-of-type(5n) {
//    margin-right: 0;
//  }
//
//  .crContainer .crBody .courseList li {
//    margin-right: 48px;
//  }
//}
//
//@media screen and (min-width: 1479px) and (max-width: 1680px) {
//  .crContainer .crBody .courseList li:nth-of-type(6n) {
//    margin-right: 0;
//  }
//
//  .crContainer .crBody .courseList li {
//    margin-right: 46px;
//  }
//}
//
//@media screen and (min-width: 1681px) and (max-width: 1898px) {
//  .crContainer .crBody .courseList li:nth-of-type(7n) {
//    margin-right: 0;
//  }
//
//  .crContainer .crBody .courseList li {
//    margin-right: 40px;
//  }
//}
//确认课时
.confirmHour {
  .ivu-form {
    display: flex;
    flex-wrap: wrap;
  }
  .ivu-form-item {
    width: 250px;
  }
  .block {
    display: block;
    width: 100% !important;
  }
  .ivu-radio-group {
    line-height: 12px;
  }

  .submit {
    width: 143px;
    height: 34px;
    text-align: center;
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
    margin: 0 auto;
    display: block;
  }
  .submit[disabled] {
    background-color: @btn-disable-color !important;
    color: #fff;
  }
  .submit.active {
    color: transparent;
    background: @primary-color url(../assets/images/load.gif) no-repeat center !important;
  }
}
.tableContent2 {
  padding: 0 !important;
}

.tableContent {
  margin-top: 10px;
  padding: 0 40px 40px;
  background-color: @white-color;
  .tableSetting {
    //line-height: 80px;
    padding: 0 0px 0 18px;
    display: flex;
    justify-content: space-between;
    .dataOperate {
      display: flex;
      //margin: 22px 0;
      /*float:left;*/
      padding: 4px 0 26px;
      p:first-child {
        //line-height: 80px;
        margin-top: 28px;
      }
      p {
        color: @btn-disable-color;
        span.num {
          margin: 0 3px;
          display: inline-block;
          width: 14px;
          text-align: center;
        }
        //span.payMoneyTotal {
        //  padding-top: 28px;
        //  color: @error-color;
        //  display: block;
        //}
      }
      button {
        height: 28px;
        //width: 70px;
        border-radius: 14px;
        text-align: center;
        padding: 0 8px;
        margin-left: 10px;
        color: @primary-color;
        border: 1px solid @primary-color;
        background-color: @btn-bg-color;
        margin-top: 22px;
        min-width: 66px;
        &:hover {
          color: @primary-hover;
          border: 1px solid @primary-hover;
        }
        //margin-top: 20px;
      }
      .ivu-btn:focus {
        box-shadow: none;
      }
      button.btn2 {
        color: @tips-color;
        border: 1px solid @tips-color;
        background-color: @btn-bg2-color;
        &:hover {
          color: @tips-hover;
          border: 1px solid @tips-hover;
        }
      }
      button.btn3 {
        color: @error-color;
        border: 1px solid @error-color;
        background-color: @btn-bg3-color;
        &:hover {
          color: @error-hover;
          border: 1px solid @error-hover;
        }
      }
      button.btn4 {
        color: @error-color;
        border: 1px solid @error-color;
        background-color: @btn-bg3-color;
        &:hover {
          color: @error-hover;
          border: 1px solid @error-hover;
        }
      }
    }
    .sortTables {
      display: flex;
      /*padding-top: 25px;*/
      p {

      }
      /*float:right;*/
      .ivu-select, .ivu-input-wrapper {
        //margin-top: 22px;
        margin: 22px 0;
      }
      .ivu-select-selection {
        background-color: @auxiliary-color4;
        border: none;
        border-radius: 0px;
        padding-left: 20px;
      }
      .select1 .ivu-select-selection {
        border-top-left-radius: 16px;
        border-bottom-left-radius: 16px;
      }
      .ivu-input {
        background-color: @auxiliary-color4;
        border: none;
        border-radius: 0px;
        border-top-right-radius: 16px;
        border-bottom-right-radius: 16px;
        text-align: center;
        height: 36px;
      }
      .ivu-select-visible .ivu-select-selection {
        box-shadow: none;
      }
      .ivu-input:focus {
        box-shadow: none;
      }
      .ivu-select-single .ivu-select-selection {
        height: 36px;
      }
      .ivu-select-single .ivu-select-selection .ivu-select-placeholder, .ivu-select-single .ivu-select-selection .ivu-select-selected-value {
        height: 36px;
        line-height: 36px;
      }
    }
    .sortData {
      position: relative;
      .emptyData {
        position: absolute;
        top: 22px;
        right: 0px;
        cursor: pointer;
        color: @mid-gray-color;
        font-size: 14px;
        width: 30px;
        height: 36px;
        line-height: 36px;
        text-align: center;
        //background-color: red;
        border-bottom-right-radius: 18px;
        border-top-right-radius: 18px;
        &:hover {
          color: @mid-gray-hover;
        }
      }
    }
    button.btnSearch {
      height: 36px;
      line-height: 36px;
      width: 36px;
      border-radius: 18px;
      text-align: center;
      padding: 0;
      margin: 22px 20px 0 20px;
      color: @white-color;
      border: none;
      background-color: @primary-color;
      font-size: 14px;
      & > span {
        vertical-align: 0;
      }
      &:hover {
        background-color: @primary-hover;
      }
      &:focus {
        box-shadow: none;
      }
      i {
        //margin-right: 10px;
        vertical-align: -1px;
      }
      //margin-top: 20px;
    }
    .setTables {
      //width: 80px;
      line-height: 80px;
      display: inline-block;
      .setBtn {
        cursor: pointer;
        font-size: 12px;
        color: @primary-color;
        line-height: 20px;
        &:hover {
          color: @primary-hover;
        }
        i {
          font-size: 18px;
          margin-right: 10px;
          vertical-align: -2px;
        }
      }
      .adminSetBtn {
        color: @tips-color;
        &:hover {
          color: @tips-hover;
        }
      }
      //.chooseScreens {
      //  padding-bottom: 18px;
      //  .chooseTip {
      //    font-size: 12px;
      //    line-height: 30px;
      //    color: @tips-color;
      //    margin-bottom: 10px;
      //  }
      //  .ivu-checkbox-group {
      //    white-space: pre-wrap; //换行
      //  }
      //  .ivu-checkbox-wrapper {
      //    width: 95px;
      //    margin-right: 16px;
      //    overflow: hidden;
      //    text-overflow: ellipsis;
      //    white-space: nowrap;
      //  }
      //  .ivu-checkbox-wrapper:nth-child(3n) {
      //    margin-right: 0px;
      //  }
      //  .ivu-checkbox + span {
      //    margin-left: 8px;
      //  }
      //}
      .clickBtn {
        margin-top: 20px;
        text-align: center;
        button {
          width: 90px;
          height: 36px;
          border-radius: 18px;
        }
        .ivu-btn:focus {
          box-shadow: none;
        }
        .cancle {
          margin-right: 15px;
          background-color: @auxiliary-color2;
          &:hover {
            color: @primary-color;
            border-color: @primary-color;
          }
        }
        .confirm {
          background-color: @primary-color;
          border-color: @primary-color;
          &:hover {
            background-color: @primary-hover;
            border-color: @primary-hover;
          }
        }
      }
    }
  }

  .ivu-table-wrapper {
    border: none;
  }
  .tableData {
    //margin-bottom: 20px;
    .ivu-table table {
      width: 100% !important;
      //overflow-x: scroll;

    }
    .ivu-table-header {
      background-color: @class-blue;
      border-bottom: 1px solid @light-gray-hover;
    }
    .ivu-table-fixed-header {
      background-color: @class-blue;
      border-top: 1px solid @light-gray-hover;
      border-bottom: 1px solid @light-gray-hover;
    }
    .ivu-table-fixed {
      left: 1px;
    }
    .ivu-table-fixed-right::before, .ivu-table-fixed::before {
      content: none;
    }
    .ivu-table {
      border: 1px solid @light-gray-hover;
    }
    .ivu-table:before {
      background-color: @light-gray-hover;
    }
    .ivu-table:after {
      background-color: @light-gray-hover;
    }
    .ivu-table thead tr:first-child th {
      height: 40px;
      font-size: 14px;
      font-weight: bold;
      text-align: center;
      color: @dark-gray-color;
      //background-color: @class-blue;
      //border-bottom: 1px solid @light-gray-hover;
      //&:nth-child(3n-2) {
      //  background: @classA-blue;
      //  font-size: 16px;
      //}
      //
      //&:nth-child(3n-1) {
      //  background: @classA-yellow;
      //  font-size: 16px;
      //}
      //
      //&:nth-child(3n) {
      //  background: @classA-violet;
      //  font-size: 16px;
      //}
    }
    //.ivu-table thead tr:not(:first-child) th {
    //  line-height: 36px;
    //  font-size: 14px;
    //  font-weight: normal;
    //  text-align: center;
    //  color: @dark-gray-color;
    //}
    //
    //.ivu-table thead tr:nth-child(2) th {
    //  background: @classB-color;
    //  font-size: 14px;
    //}
    //
    //.ivu-table thead tr:nth-child(3) th {
    //  background: @classC-color;
    //  font-size: 14px;
    //}
    //.ivu-table thead tr:nth-child(4) th {
    //  background: @classD-color;
    //  font-size: 14px;
    //}

    .ivu-table tbody td {
      /*padding: 6px 0 !important;*/
      font-size: 14px;
      text-align: center;
      color: @dark-gray-color;
    }
    .ivu-table tbody tr:nth-child(2n-1) {
      background-color: @tableBgColor1;
    }
    .ivu-table tbody tr:nth-child(2n) {
      background-color: @tableBgColor2;
    }
    .ivu-table th {
      //border: 1px solid #fff;
      border: none;
      height: 36px;
      background: @class-blue;
    }
    .ivu-table td {
      //border: 1px solid #fff;
      border: none;
      height: 36px;
      background: none;
    }
  }
}
.viewRcord{
  /*滚动条样式*/
  ::-webkit-scrollbar { /*滚动条整体样式*/
    width: 10px; /*高宽分别对应横竖滚动条的尺寸*/
    height: 10px;
  }

  ::-webkit-scrollbar-thumb { /*滚动条里面小方块*/
    border-radius: 3px;
    background: #99cbe2 !important;
  }

  ::-webkit-scrollbar-track { /*滚动条里面轨道*/
    border-radius: 0;
    //background: #f0f1f3;
    background: #e3e3e3;
  }
}
